home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / pc / ps40sdk / examples / common / rez-files.r / piutilities.r < prev    next >
Encoding:
Text File  |  1996-11-11  |  2.5 KB  |  72 lines

  1. /*
  2.     File: PIUtilities.r
  3.  
  4.     Copyright (c) 1990-1, Thomas Knoll.
  5.     Copyright (c) 1992-6, Adobe Systems Incorporated.
  6.     All rights reserved.
  7.  
  8.     Rez source file for Plug-in Utilities.
  9. */
  10.  
  11. /********************************************************************************/
  12. // Version information for SDK releases
  13. #define ReleaseString    "2 (11/96)"
  14.  
  15. // These are generic.  Override if you need to.
  16. #define StringResource    'STR '
  17. #define ResourceID        16000
  18. #define AboutID            ResourceID
  19. #define uiID            ResourceID+1
  20. #define AlertID            16990
  21. #define kBadNumberID    AlertID
  22. #define kBadDoubleID    kBadNumberID+1
  23. #define kNeedVers        kBadDoubleID+1
  24. #define kWrongHost        kNeedVers+1
  25.  
  26. /********************************************************************************/
  27. /* Alert strings */
  28.  
  29. resource StringResource (kBadNumberID, "Bad number", purgeable)
  30. {
  31.     "An integer is required between ^1 and ^2."
  32. };
  33.  
  34. resource StringResource (kBadDoubleID, "Bad double", purgeable)
  35. {
  36.     "A decimal number is required between ^1 and ^2."
  37. };
  38.  
  39. resource StringResource (kNeedVers, "Need vers", purgeable)
  40. {
  41.     "This plug-in requires Adobe Photoshop¿ ^1 or later functionality."
  42. };
  43.  
  44. resource StringResource (kWrongHost, "Wrong host", purgeable)
  45. {
  46.     "This plug-in is incompatible with this version of the host program."
  47. };
  48.  
  49. //----------------------------------------------------------------------------------------
  50. // Descriptor for allowing filters to animate over time. A structure of this type can be
  51. // added to a 'VFlt', an 'AFlt', or a PhotoShop filter to describe the data structure of
  52. // its data blob. Specify pdOpaque for any non-scalar data in the record, or data that you
  53. // don't want Premiere to interpolate for you. Make the FltD describe all the bytes in the
  54. // data blob. Use ID 1000.
  55. //----------------------------------------------------------------------------------------
  56. type 'FltD' {
  57.     array {
  58.         integer                    // Specifies the type of the data
  59.             pdOpaque = 0,            // Opaque - don't interpolate this
  60.             pdChar = 1,                // Interpolate as signed byte
  61.             pdShort = 2,            // Interpolate as signed short
  62.             pdLong = 3,                // Interpolate as signed long
  63.             pdUnsignedChar = 4,        // Interpolate as unsigned byte
  64.             pdUnsignedShort = 5,    // Interpolate as unsigned short
  65.             pdUnsignedLong = 6,        // Interpolate as unsigned long
  66.             pdExtended = 7,            // Interpolate as an extended
  67.             pdDouble = 8,            // Interpolate as a double
  68.             pdFloat = 9;            // Interpolate as a float
  69.         integer;                // Count of bytes to skip with pdOpaque, 0 otherwise.
  70.     };
  71. };
  72.